package com.freesky.biz.citic.mapper;

import com.freesky.biz.citic.domain.TCiticLucky;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CiticLuckyMapper {

    public List<TCiticLucky> findList(TCiticLucky entity);

    public List<TCiticLucky> selectUnProcessList();

    int getReceiveCount(@Param("mobile") String mobile);

    int updateProcessedById(@Param("processed") String processed,
                            @Param("id") String id);

    int updateProcessedResultById(TCiticLucky citicLucky);

    int updateRefundById(TCiticLucky citicLucky);


    int updateRechargeById(@Param("processed") String processed,
                            @Param("id") String id);
}
